home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19970929-19971216
/
000193_news@newsmaster….columbia.edu _Tue Oct 28 23:57:13 1997.msg
< prev
next >
Wrap
Internet Message Format
|
1997-12-15
|
3KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id XAA26522
for <kermit.misc@watsun.cc.columbia.edu>; Tue, 28 Oct 1997 23:57:13 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id XAA16683
for kermit.misc@watsun; Tue, 28 Oct 1997 23:57:12 -0500 (EST)
Path: news.columbia.edu!panix!cam-news-hub1.bbnplanet.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!cs.utexas.edu!news.cs.utah.edu!cc.usu.edu!jrd
From: jrd@cc.usu.edu (Joe Doupnik)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Reading filename one at a time.
Message-ID: <TYgibtOGyRum@cc.usu.edu>
Date: 28 Oct 97 08:51:22 MDT
References: <631sbo$hnl$1@goanna.cs.rmit.edu.au>
Followup-To: poster
Organization: Utah State University
Lines: 48
Xref: news.columbia.edu comp.protocols.kermit.misc:7974
In article <631sbo$hnl$1@goanna.cs.rmit.edu.au>, rwi@yallara.cs.rmit.edu.au (Ross Irvine) writes:
> Hi All.
> I have more Kermit questions. :)
> I'd like to do this.
>
> while (no more files in dirctory)
> read filename into variable %a
> send %a
> if success delete %a
> end loop
>
>
> Basically I'd like to read all the filenames in a directory one at a time
> so I can work with each file seperately. This is using K95, but will
> hopefully work in msdos. I've looked through the Kermit book but haven't
> been able to find anything.
Look at the MOVE filespec command, which sends and if successful
deletes the original.
I advise waiting for the next editions of MSK and CK where such
matters will be handled smoothly and more elegantly (such as recursive
descent of directory trees). The problem with "all at once" is it means
what it says despite possibly a few thousand files in a directory (file
server's often get this way). One can count the bytes consumed storing
that list.
> Also goes anyone know when Kermit for MSDOS will be version 6 compliant?
Version 6 of what? And what's the real problem?
Joe D.
> I'm currently running Kermit 95 (which is great!), but I'm getting more a
> more anonyed with the fact that I write a great script on K95 that just
> won't work on MSDOS Kermit 3.15, such as the status return codes for INPUT.
>
> And one more thing while I'm asking so much... :)
> Relase date for the GUI interface??
>
> regards..
>
> --
> Ross Irvine E-Mail : rwi@yallara.cs.rmit.edu.au
> Computer Science Department, Phone GSM : +61 419 565 232
> RMIT, Melbourne, Australia. Nokia 2110 FAQ Creater, see below for WWW.
> Novell Network Admin - V.B.R. Work : +61-3-9349-2744 Fax: +61-3-9349-2711
> Certified Novell Administrator (CNA) Still Working on the CNE....
> And all round nice guy. :) WEB : http://yallara.cs.rmit.edu.au/~rwi/